Avoid a pointless goto
authorMatthias Clasen <mclasen@redhat.com>
Fri, 31 Aug 2018 17:23:59 +0000 (13:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 31 Aug 2018 17:24:17 +0000 (13:24 -0400)
We can just return here.

gtk/gtkapplication-dbus.c

index 3c241ca7b0dbb83a16dd68a0b5713283551f2d4b..a1f6eb0c3ab7557b10f9a4189478b67d4ae379f0 100644 (file)
@@ -436,7 +436,7 @@ gtk_application_impl_dbus_startup (GtkApplicationImpl *impl,
         {
           g_debug ("Failed to get an inhibit portal proxy: %s", error->message);
           g_clear_error (&error);
-          goto end;
+          return;
         }
 
       if (register_session)
@@ -471,8 +471,6 @@ gtk_application_impl_dbus_startup (GtkApplicationImpl *impl,
           g_free (token);
         }
     }
-
-end:;
 }
 
 static void